<?php /* Smarty version 2.6.18, created on 2016-11-30 15:43:09
         compiled from duty/m.duty.info.tpl.php */ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link href="mstatic/css/bootstrap.min.css"  type="text/css" rel="stylesheet">
<link href="mstatic/css/jquery-ui.css"  type="text/css" rel="stylesheet">
<link href="mstatic/css/index.css" type="text/css" rel="stylesheet">
<title>教师值日表</title>
</head>

<body>
<!--头部-->
<nav class="navbar navbar-default navbar-fixed-top  top" role="navigation">
  <div class="container-fluid">
    <div class="navbar-header" style=" width:100%;"> <a class="navbar-brand" href="javascript:history.go(-1);"  style=" width:100%;  padding-right:0px;"> <span class="glyphicon glyphicon-arrow-left white"></span> 
      <!--    <span class="glyphicon glyphicon-pause white" style="margin-left:2%;"></span>--> 
      <span class="white" style="margin-left:10%">教师值日表</span> <span class="glyphicon glyphicon-user white" style="float:right"></span> </a> </div>
  </div>
  <!-- /.container-fluid --> 
</nav>
<!--头部 end--> 
<!--主体部分-->
<div class="container" style="margin-top:70px;">
<!--<div class="row" style="margin-right:10%;">
    <div  class="col-xs-sm  text-right" > <a class="btn btn-primary" href="hired_add.html" style="width:30%">修改</a></div>
  </div>-->

  <div class="row row_margin">
    <h5 class="text-center" style="color:red"><?php echo $this->_tpl_vars['semester_data']['semester_name']; ?>
</h5>
    <table class="table table-bordered table-striped">
     <thead>
		 <tr>
			<td rowspan="2">地点</td>
			<?php $_from = $this->_tpl_vars['week_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
			<td colspan="2" align="center"><?php echo $this->_tpl_vars['value']; ?>
</td>
			<?php endforeach; endif; unset($_from); ?>								
		 </tr>
		 <tr>
			<?php $_from = $this->_tpl_vars['week_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>								
			<td>上午</td>
			<td>下午</td>
			<?php endforeach; endif; unset($_from); ?>									
		 </tr>
	</thead>
		 <?php $_from = $this->_tpl_vars['data_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
		 <tr>
			<td><?php echo $this->_tpl_vars['value']['duty_area']; ?>
</td>
			<?php $_from = $this->_tpl_vars['value']['duty_data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				<?php $_from = $this->_tpl_vars['v']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['t'] => $this->_tpl_vars['s']):
?>
				 <td><?php echo $this->_tpl_vars['s']; ?>
</td>
				<?php endforeach; endif; unset($_from); ?>
			<?php endforeach; endif; unset($_from); ?>    
		 </tr>
		 <?php endforeach; endif; unset($_from); ?>
    </table>
  </div>
  <!--row  end-->
  
</div>
<!--container  end--> 
<!--主体部分  end--> 
<!--底部-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 

<!--底部end--> 
<script src="mstatic/js/jquery.min.js" type="text/javascript"></script> 
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script> 
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历--> 

<!--日历--> 
<script>
  $(function() {
    $( "#datepicker" ).datepicker({
		 minDate: new Date(1953, 11, 31),  
         maxDate: new Date(2015, 11, 31), 
        changeMonth: true,
        changeYear: true
	  
    });
	
	$( "#datepicker2" ).datepicker({
		 minDate: new Date(1953, 11, 31),  
         maxDate: new Date(2015, 11, 31), 
        changeMonth: true,
        changeYear: true
	  
    });
  });
  </script>
</body>
</html>